html {
    background-color: #6a737d;
}
body {
    font-family: 'Segoe UI',
    'PingFang SC',
    sans-serif;
    line-height: 1.6;
    margin: 16px;
    color: #2c3e50;
    background-color: rgba(215, 215, 215, 0.52);
}

pre {
    position: relative;
    background: #f4f4f4;
    padding: 12px;
    border-radius: 6px;
    margin: 1rem 0;
}

.code-block {
    position: relative;
    background: #e2ded9;
    padding: 1em;
    border-radius: 6px;
    margin: 1em 0;
    font-family: 'Consolas', monospace;
    border: 1px solid #e1e4e8;
}

.code-keyword {
    color: #d73a49;
}

.code-string {
    color: #032f62;
}

.code-comment {
    color: #6a737d;
}

.code-number {
    color: #005cc5;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: red;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 12px;
}

.code-block:hover .copy-btn {
    opacity: 1;
}
